package com.peng.Log;

import org.springframework.aop.AfterReturningAdvice;

import java.lang.reflect.Method;

public class Logafter implements AfterReturningAdvice {
    @Override
    public void afterReturning(Object returnValue, Method method, Object[] args, Object target) throws Throwable {
        System.out.println(target.getClass().getName()+"的"+method.getName()+"其返回值为"+returnValue);

    }
}
